import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { IndexComponent } from './index/index.component';
import { StoreControlComponent } from './store-control/store-control.component';
import { PadFormComponent } from './pad-form/pad-form.component';
import { ApesFormComponent } from '../form/apes-form.component';

const routes: Routes = [
  {
    path: 'index',
    component: IndexComponent,
  },
  {
    path: 'storeControl',
    component: StoreControlComponent,
  },
  { path: 'padForm',
    component: PadFormComponent,
  },
  {
    path: 'form/:formId',
    component: ApesFormComponent
  },
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule],
})
export class PadRoutingModule {
}
